package com.zhongyouyun.other.file.factory;

import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util.RandomUtil;
import cn.hutool.setting.dialect.Props;
import com.zhongyouyun.admin.model.FileModel;
import com.zhongyouyun.other.file.Bean.FileBean;
import com.zhongyouyun.other.file.Bean.FileBeanWork;
import com.zhongyouyun.other.file.abstractfactory.FileFactory;
import com.zhongyouyun.utils.PropUtils;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.List;

public class AliFileFactory extends FileFactory {
    @Override
    public FileBean uploadFile(MultipartFile file) {
        System.out.println("22222");
        return null;
    }

    @Override
    public void downloadFile(FileModel fileModel, HttpServletRequest request, HttpServletResponse response) {

    }

    @Override
    public FileBeanWork uploadhandleFile(List<MultipartFile> files) {
        return null;
    }

    @Override
    public FileBeanWork delFile(FileModel fileModel) {
        return null;
    }

    @Override
    public String uploadHtml(String html) {
        return null;
    }
    public Boolean  deleteHtml(List<String> urlList){Boolean flag=false;return  flag; }
}
